package deviceScript

const (
	EnumEncoder = "encoder"
	EnumDecoder = "decoder"
	EnumMode    = "mode"
	EnumRecord  = "record"
	EnumResult  = "result"
	EnumStatus  = "status"
)

const (
	enumOperateName = "operateName"
	enumRecordType  = "recordType"
	enumData        = "data"
)

var (
	ExchangeService  *exchangeService
	PublishService   *publishService
	ReportService    *reportService
	EngineExecutor   *ScriptEngineExecutor
	EngineInitialize *ScriptEngineInitialize
	engineService    *ScriptEngineService
	engineModel      *ScriptEngineModel
	engineOperator   *ScriptEngineOperator
	notify           *OperateNotify
)

func init() {
	engineService = &ScriptEngineService{}
	engineService.engineMap = make(map[string]interface{})

	engineModel = &ScriptEngineModel{}
	engineModel.modelMap = make(map[string]interface{})
}
